<template>

<div>
  <button @click="handleClick">
    to test
  </button>

  <button @click="removeStorage">
    remove storage
  </button>
</div>

</template>

<script setup lang="ts">

import { useRoute, useRouter } from 'vue-router'

import { removeLocalStorage } from '@/localstorage/storageHandle'

const router = useRouter()
const route = useRoute()

const removeStorage = ()=>{

  removeLocalStorage('test')

}

const handleClick = ()=>{

  router.push({path:"/test"})
}

</script>
